import request from '@/utils/request'

// 查询落地页记录列表
export function listMarketLinkCreditLog(query) {
    return request({
        url: '/market/MarketLinkCreditLog/list',
        method: 'get',
        params: query
    })
}

// 查询落地页记录详细
export function getMarketLinkCreditLog(id) {
    return request({
        url: '/market/MarketLinkCreditLog/' + id,
        method: 'get'
    })
}

// 新增落地页记录
export function addMarketLinkCreditLog(data) {
    return request({
        url: '/market/MarketLinkCreditLog',
        method: 'post',
        data: data
    })
}

// 修改落地页记录
export function updateMarketLinkCreditLog(data) {
    return request({
        url: '/market/MarketLinkCreditLog',
        method: 'put',
        data: data
    })
}

// 删除落地页记录
export function delMarketLinkCreditLog(id) {
    return request({
        url: '/market/MarketLinkCreditLog/' + id,
        method: 'delete'
    })
}

// 导出落地页记录
export function exportMarketLinkCreditLog(query) {
    return request({
        url: '/market/MarketLinkCreditLog/export',
        method: 'get',
        params: query
    })
}
